package com.zhongwang.mms.module.allocation.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhongwang.mms.gen.entity.AllocationOrder;
import lombok.Data;

import java.util.Date;

/**
 * @description:调拨单实体类
 * @author: th
 * @time: 2020/8/11 10:35
 */
@Data
public class AllocationOrderModel extends AllocationOrder {

    private Integer odrId;

    private Integer odrType;

    private String odrCode;

    private Integer odrInWhiId;

    private Integer odrOutWhiId;

    private String odrInWhiName;

    private String odrOutWhiName;

    private String odrMakePersonId;

    private Date odrMakeDate;

    private Integer odrOutStatus;

    private String odrRemark;

    private Integer odrStatus;

    private Integer ardId;

    private Integer ardOdrId;

    private String ardMatName;

    private String ardSapCode;

    private String ardProCode;

    private String ardProName;

    private String ardPart;

    private String ardTrackCode;

    private Integer ardStockType;

    private String ardSpecialRemark;

    private Double ardOutNum;

    private Double ardInNum;

    private Double ardPrice;

    private String ardUnit;

    private Integer ardOutItyId;

    private Integer ardInItyId;

    private Integer ardDataStatus;

    private Double ardOutWeight;

    private Double ardInWeight;

    private String ardMatType;

    private String ardMatQuality;

    private String ardMatSpec;

    private Double ardMatWidth;

    private Double ardMatLength;

    private Double ardMatHeight;

    private String ardPosition;

    private Integer ityId;

    private String ityMatCode;

    private String ityMatDesc;

    private String ityMatName;

    private String ityProCode;

    private String ityProName;

    private String ityPart;

    private Double ityNum;

    private Double ityWeight;

    private Double ityAvaNum;

    private Double ityAvaWeight;

    private String ityNumUnit;

    private String ityWeightUnit;

    private Double ityPrice;

    private Double ityAmount;

    private String ityBrand;

    private String itySat;

    private String ityPosition;

    private Integer ityWhiId;
    private String ityWhiName;

    private String itySapCode;

    private String ityTrackCode;

    private String ityRemark;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date ityBookkeepingDate;

    private Integer ityDataStatus;

    private Integer ityRowNo;

    private Integer ityStockType;

    /**
     * 类型
     */
    private String matTypeName;

    /**
     * 材质
     */
    private String matQualityName;

    /**
     * 规格
     */
    private String matSpecName;

    /**
     * 宽度
     */
    private Double matWidth;

    /**
     * 长度
     */
    private Double matLength;

    /**
     * 米重/厚度
     */
    private Double matHeight;

    /**
     * 原料库存在库类型字段
     */
    private String ityInTypeName;

    /**
     * 原料库存在库类型
     */
    private Integer ityInType;

    private Integer matFormulaType;

    /**
     * 原料库存备注
     */
    private String itySpec;

    /**
     * 原料库存物料描述
     */
    private String matNameDesc;

    private String odrTakePerson;//领料人

    private Date odrDate;//出库日期

    private Integer ardOutsourcedType;//外协件类别

    private String ardBrand;//厂家

    private Integer odrDept;//领料车间

    private Date startOdrMakeDate;

    private Date endOdrMakeDate;

    private String ityMatSapCode;
}
